<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@page import="java.util.*"%>
<%@page import="com.dss.service.ExpertService"%>
<%@page import="com.dss.service.ExpertConsultationService"%>
<%@page import="com.dss.po.ExpertDoc"%>
<%@page import="com.infomanage.util.*"%>
<%  response.addDateHeader("Expires", 0);response.setHeader("Pragma","no-cache"); response.setHeader("Cache-Control","no-cache");%>
<%
    request.setCharacterEncoding("UTF-8");
	String searchType = request.getParameter("searchType");
	List<ExpertDoc> docs = ExpertConsultationService.search(request, response, out);
    String contextPath = request.getContextPath();
    String filePath = contextPath + Consts.FILE_UPLOAD_SAVE_DIR + "/";
%>
<html >
<head>
	<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
	<script type="text/javascript" src="../../js/common.js"></script>
	<style type="text/css">
		body,button,input,select,textarea {font:12px/1.125 "宋体",Arial;}
		a{text-decoration:none; color:#0d348b; }
		.right_ercon3{width:100%; margin:0 auto; background:url(bg1.png) repeat-x left bottom; overflow:hidden; margin-top:22px; padding:0 15px 16px 15px; line-height:20px; color:#666;}
		.er_tit3{color:#0d348b; font-size:14px; font-weight:bold; margin-bottom:5px;}
		.er_tit3 span{float:right; font-size:12px; font-weight:normal;}
		.er_tit3 span a{color:#0d348b;}
	</style>
</head>
<body rightmargin="0" bottommargin="0" leftmargin="0" topmargin="0" style="overflow: auto; overflow-x:hidden">
	<%
		for(ExpertDoc doc : docs){
	%>
			<div class='right_ercon3'>
				<div class="er_tit3"><span><a 
					href='<%=filePath + doc.getStoreName() %>'>下载</a></span><img src="../../img/word.png"><a
					 href='<%=filePath + doc.getStoreName() %>'>&nbsp;<%=doc.getName() %></a>
				</div>
				关键字：<font color="#B96527"><%=doc.getKeywords() %></font><br/>
				摘&nbsp;&nbsp;要：<%=doc.getSummary() %>
			</div>
	<%		
		}
	%>
</body>
</html>
